*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
    text-decoration: none;
    list-style: none;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 12%;
    background: rgb(75, 75, 75);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-size: 25px;
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
}

.logo:hover{
    color: rgb(27, 154, 27);
    text-shadow: 0 0 25px rgb(27, 154, 27),
                 0 0 50px rgb(27, 154, 27);
    transform: scale(1.1);
}

span{
    color: rgb(27, 154, 27);
}

.navbar a{
    font-size: 18px;
    color: white;
    font-weight: 500;
    margin: 0 20px;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;
}

.navbar a:hover,
.navbar a.active{
    color:rgb(27, 154, 27);
    border-bottom: 3px solid rgb(27, 154, 27);
}

.img-box img{
    border-radius: 50%;
    width: 500px;
}

::-webkit-scrollbar{
    width: 15px;
}

::-webkit-scrollbar-thumb{
    background-color: rgb(27, 154, 27);
}

::-webkit-scrollbar-track{
    background-color: black;
    width: 50px;
}

.footer{
    position: relative;
    width: 100%;
    padding: 40px 0;
    background-color: black;
    margin-top: auto;
}

.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: white;
}

.footer .social a{
    font-size: 24px;
    color: white;
    border: 2px solid rgb(27, 154, 27);
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 8px;
    box-shadow: inset 0 0 10px rgb(27, 154, 27), 0 0 10px rgb(27, 154, 27);
    transition: 0.3s ease;
}

.footer .social a:hover{
    transform: scale(1.2)translate(-10px);
    color: rgb(27, 154, 27);
    border: 2px solid rgb(27, 154, 27);
}

.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}

.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;
}

.footer ul li a:hover{
    border-bottom: 3px solid rgb(27, 154, 27);
}

.footer ul li{
    display: inline-block;
    padding: 0 15px;
}

.footer .copyright{
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
    color: white;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1e2a38;
    color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.realisations {
    padding: 20px;
    text-align: center;
    margin-top: 80px;
}

.realisations h2 {
    color: #42a5f5;
    margin-bottom: 20px;
}

.realisations-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.realisation {
    background-color: #2c3e50;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.realisation:hover {
    transform: scale(1.05);
}

.realisation img {
    width: 100%;
    border-radius: 10px;
}

.realisation h3 {
    margin-top: 15px;
    color: #00e676;
}

.realisation p {
    margin-top: 10px;
    font-size: 14px;
    color: #bdc3c7;
}

.projet-liste {
    background-color: #2c3e50;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    list-style: none;
    color: #bdc3c7;
}

.projet-liste li {
    margin: 10px 0;
    font-size: 16px;
}

#menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    color: white;
}

@media screen and (max-width: 1200px) {
    .header {
        padding: 25px 8%;
    }
    .realisations {
        padding: 15px;
    }
    .realisations-container {
        gap: 15px;
    }
}

@media screen and (max-width: 991px) {
    .header {
        padding: 20px 5%;
    }
    .navbar a {
        font-size: 16px;
        margin: 0 10px;
    }
    .realisation {
        width: 250px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 15px 5%;
    }
    .logo {
        font-size: 20px;
    }
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgb(75, 75, 75);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 100px 0;
        transition: 0.3s ease;
        z-index: 10000;
    }
    .navbar.active {
        right: 0;
    }
    .navbar a {
        display: block;
        font-size: 20px;
        margin: 15px 0;
        padding: 10px 20px;
        border-radius: 5px;
        transition: 0.3s ease;
    }
    .navbar a:hover {
        background: rgb(27, 154, 27);
        color: white;
    }
    .realisations-container {
        gap: 10px;
    }
    .realisation {
        width: 100%;
        max-width: 300px;
    }
    #menu-icon {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .realisation h3 {
        font-size: 18px;
    }
    .realisation p {
        font-size: 13px;
    }
    .footer ul li {
        display: block;
        margin: 10px 0;
    }
    .footer .social a {
        width: 35px;
        height: 35px;
        line-height: 33px;
    }
} 